﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="DanhMucControl.ascx.cs"
    Inherits="EHTWebsiteProject.Controls.DanhMucControl" %>
<asp:Repeater ID="rpDanhMucMoRong" runat="server">
    <HeaderTemplate>
        <div id="danhmuc" style="padding-top: 20px;">
            <!--Begin #danhmuc-top-->
            <div id="danhmuc-top">
            </div>
            <!--End #danhmuc-top-->
            <!--Begin #danhmuc-main-->
            <div id="danhmuc-main">
                <!--Begin #danhmuc-bao-->
    </HeaderTemplate>
    <ItemTemplate>
        <div class="danhmuc-bao">
            <div class="danhmuc-bao-img">
 
                <div class="danhmuc-bao-title">
                    <h3>
                        <a href='/tin-tuc-chi-tiet/<%#Eval("TinTucID") %>/<%#FormatStringForUrl(DataBinder.Eval(Container.DataItem, "TieuDeVN").ToString())%>.aspx'>
                            <% if (IsVN == true)
                               {%>
                            <%#Eval("TieuDeVN")%>
                            <%}
                               else
                               { %>
                            <%#Eval("TieuDeOther")%>
                            <%} %>
                        </a>
                    </h3>
                </div>
                <br />
                <div class="danhmuc-bao-text">
                <div style="float: left; width:62px; height:150px;">
                    <img src='/ImageDatas/News/<%#Eval("Icon")%>' width="48px" height="56px" alt='<%#Eval("TieuDeVN")%>' />
                </div>


                    <% if (IsVN == true)
                       {%>
                    <%#Eval("TomTatVN")%>
                    <%}
                       else
                       { %>
                    <%#Eval("TomTatOther")%>
                    <%} %>
                </div>
                <div style="clear: both;">
                </div>
            </div>
        </div>
    </ItemTemplate>
    <FooterTemplate>
        <div style="clear: both;">
        </div>
        </div>
        <!--End #danhmuc-main-->
        <!--Begin #danhmuc-foo-->
        <div id="danhmuc-foo">
        </div>
        <!--End #danhmuc-main-->
        </div>
    </FooterTemplate>
</asp:Repeater>
